home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Src / lconsole / Makefile < prev    next >
Encoding:
Makefile  |  1991-12-18  |  3.1 KB  |  136 lines

  1. # Makefile for line based console
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Src/lconsole/RCS/Makefile,v 6.0 1991/12/18 20:27:16 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:27:16  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18. SRCS    =    lconsole.c functions.c channel.c mtas.c msgs.c show.c
  19. OBJS    =    lconsole.o functions.o channel.o mtas.o msgs.o show.o
  20.  
  21.  
  22. HEADERS    =    ../../h
  23. LIBPP    =    ../../Lib/libpp.a
  24.  
  25. CFLAGS    = $(CCOPTIONS) -I$(HEADERS)
  26. LDFLAGS    = $(LDOPTIONS)
  27.  
  28. LLFLAGS = $(LINTFLAGS) -I$(HEADERS)
  29. LINTLIBS = ../../Lib/llib-lpp.ln $(LINTISODE)
  30.  
  31. ############################################################
  32. #
  33. # Building Rules
  34. #
  35. ############################################################
  36.  
  37. default: lconsole
  38.  
  39. lconsole: xlconsole
  40.     @true
  41.  
  42. xlconsole:    $(OBJS) $(LIBPP)
  43.     $(CC) -o $@ $(LDOPTIONS) $(OBJS) $(LIBPP) $(LIBSYS) $(LM)
  44.  
  45. install: inst-xlconsole
  46.  
  47. inst-xlconsole: $(CMDDIR)/lconsole
  48. $(CMDDIR)/lconsole: xlconsole
  49.     -$(BACKUP) $@ zxlconsole
  50.     rm -f $@
  51.     $(INSTALL) xlconsole $@
  52.     -$(CHMOD) $(PGMPROT) $@
  53.     -$(CHOWN) $(PPUSER) $@
  54.     -@ls -ls $@
  55.     -@echo "lconsole installed normally"; echo ""
  56.  
  57. saber_src: $(SRCS)
  58.     #load -C $(CFLAGS) $(SRCS) $(LIBPP) $(LIBSYS) $(LM)
  59.  
  60. saber_obj: $(OBJS)
  61.     #load -C $(OBJS) $(LIBPP) $(LIBSYS) $(LM)
  62.  
  63. clean: tidy
  64. tidy:
  65.     rm -f $(OBJS) core a.out Makefile.old xlconsole
  66.  
  67. lint: l-lconsole
  68.  
  69. l-lconsole: $(SRCS)
  70.     $(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)
  71. depend:
  72.     $(DEPEND) -I$(HEADERS) $(SRCS)
  73.  
  74. ############################################################
  75. #
  76. # End of Building Rules
  77. #
  78. ############################################################
  79. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  80. # Dependencies follow
  81. lconsole.o: lconsole.c
  82. lconsole.o: lconsole.h
  83. lconsole.o: ../../h/util.h
  84. lconsole.o: ../../h/config.h
  85. lconsole.o: ../../h/ll_log.h
  86. lconsole.o: ../../h/qmgr-int.h
  87. functions.o: functions.c
  88. functions.o: lconsole.h
  89. functions.o: ../../h/util.h
  90. functions.o: ../../h/config.h
  91. functions.o: ../../h/ll_log.h
  92. functions.o: ../../h/qmgr.h
  93. functions.o: ../../h/Qmgr-types.h
  94. functions.o: ../../h/Qmgr-ops.h
  95. functions.o: ../../h/qmgr-int.h
  96. channel.o: channel.c
  97. channel.o: lconsole.h
  98. channel.o: ../../h/util.h
  99. channel.o: ../../h/config.h
  100. channel.o: ../../h/ll_log.h
  101. channel.o: ../../h/qmgr.h
  102. channel.o: ../../h/Qmgr-types.h
  103. channel.o: ../../h/Qmgr-ops.h
  104. channel.o: ../../h/qmgr-int.h
  105. mtas.o: mtas.c
  106. mtas.o: lconsole.h
  107. mtas.o: ../../h/util.h
  108. mtas.o: ../../h/config.h
  109. mtas.o: ../../h/ll_log.h
  110. mtas.o: ../../h/qmgr.h
  111. mtas.o: ../../h/Qmgr-types.h
  112. mtas.o: ../../h/Qmgr-ops.h
  113. mtas.o: ../../h/qmgr-int.h
  114. msgs.o: msgs.c
  115. msgs.o: lconsole.h
  116. msgs.o: ../../h/util.h
  117. msgs.o: ../../h/config.h
  118. msgs.o: ../../h/ll_log.h
  119. msgs.o: ../../h/qmgr.h
  120. msgs.o: ../../h/Qmgr-types.h
  121. msgs.o: ../../h/Qmgr-ops.h
  122. msgs.o: ../../h/qmgr-int.h
  123. show.o: show.c
  124. show.o: lconsole.h
  125. show.o: ../../h/util.h
  126. show.o: ../../h/config.h
  127. show.o: ../../h/ll_log.h
  128. show.o: ../../h/qmgr.h
  129. show.o: ../../h/Qmgr-types.h
  130. show.o: ../../h/Qmgr-ops.h
  131. show.o: ../../h/qmgr-int.h
  132.  
  133. # DEPENDENCIES MUST END AT END OF FILE
  134. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  135. # see make depend above
  136.